﻿
{$header}<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">查看销售退货 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >退货单号：</td>
	<td class="tLeft" >
            <input type="text" name="sale_back_no" value="{$vo.sale_back_no}">
        </td>
</tr>
<tr>
    <td>  客户：</td>
            <?php 
            //仅企业客户--批发
            $customers = M('Customer')->where('type = 5')->field('id,name')->findAll(); ?>
            <td><select name="customer_id">
                <volist name="customers" id="cu">
                    <option value="{$cu.id}" <eq name="vo.customer_id" value="$cu.id">selected </eq> >{$cu.name}</option>
                </volist>
            </select></td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
        <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>
</table>
</form>
</div>
</div>
